import re
pro = re.compile('Protocol:(.*):(.*)')

a = "Protocol:3_5:15"
ret = pro.findall(a)
print ret[0]

aa = {}
print ret[0][0] not in aa
